<div class="row">
    <div class="col-md-12">
        <div class="search-panel">
            <form>
                <label>姓名<input name="name" class="input" value="{$name}"></label>
                <label>电话<input name="phone" class="input" value="{$phone}"></label>
                <label>组别
                    <select name="group" class="input">
                        <option value="">全部</option>
                        {foreach $group_list as $item}
                        <option value="{$item.title}" {$item.title == $group?'selected':''}>{$item.title}</option>
                        {/foreach}
                    </select>
                </label>
                <label>是否有执业资格
                    <select name="has_per" class="input">
                        <option value="">全部</option>
                        <option value="1" {$has_per == 1?'selected':''}>是</option>
                        <option value="0" {$has_per == 0 && $has_per!==''?'selected':''}>否</option>
                    </select>
                </label>
                <label><input  type="submit" class="btn btn-primary" value="搜索"></label>
            </form>
        </div>
        <table class="table table-striped  table-hover">
            <thead>
            <tr>
                <th>#</th>
                <th>姓名</th>
                <th>电话</th>
                <th>邮箱</th>
                <th>是否有执业资格</th>
                <th>组别</th>
                <th>报名时间</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            {foreach $list as $item}
            <tr>
                <td>{$item.id}</td>
                <td>{$item.name}</td>
                <td>{$item.phone}</td>
                <td>{$item.email}</td>
                <td><span class="label label-info">{$item.has_per?'有':'无'}</span></td>
                <td>{$item.group}</td>
                <td>{$item.created_at_dis}</td>
                <td>
                    <a class="text-success btn btn-info" title="编辑" href="javascript:Admin.openIFrame('编辑','{$modify_url}/id/{$item.id}',['650px','70%'])"><i class="fa fa-pencil"></i></a>
                    <a class="text-danger btn btn-info" title="删除" href="javascript:Admin.confirm('编辑位置','{$del_url}/id/{$item.id}',['650px','70%'])"><i class="fa fa-remove"></i></a>
                </td>
            </tr>
            {/foreach}
            </tbody>
        </table>
        <div>
            {$list->render()}
        </div>
    </div>
</div>

